<script setup lang="ts">
defineProps<{
  title: string
  titlePlacement?: 'left' | 'center'
}>()
</script>

<template>
  <view>
    <view class="p-24rpx text-28rpx text-#999999 font-medium leading-28rpx" :class="titlePlacement === 'center' ? 'text-center' : ''">
      {{ title }}
    </view>
    <view class="bg-white">
      <slot />
    </view>
  </view>
</template>
